package org.chen.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 多数字人配置存储实体
 */
@Data
@TableName("multi_avatar_config")
public class MultiAvatarConfig {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    private String name;
    
    @TableField("config_type")
    private String configType = "multiple";
    
    @TableField("common_config")
    private String commonConfig; // 存储JSON格式的公共配置
    
    @TableField("is_default")
    private Boolean isDefault;
    
    @TableField("is_caption")
    private Boolean isCaption;

    @TableField("one_to_one")
    private Boolean isOneToOne;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}